package com.example.vote.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName vote
 */
@TableName(value ="vote")
@Data
public class Vote implements Serializable {
    /**
     * 比赛ID
     */
    @TableId
    private String matchid;

    /**
     * 对战ID
     */
    private String battleid;

    /**
     * 选手
     */
    private Integer playerid;

    /**
     * 用户ID
     */
    private Integer userid;

    /**
     * 
     */
    private Integer ticket;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}